//
//  XYGUserSingle.m
//  XinYiGou
//
//  Created by Angel_Yan on 2017/3/29.
//  Copyright © 2017年 Angel_Yan. All rights reserved.
//

#import "XYGUserSingle.h"


@interface XYGUserSingle ()

@end



@implementation XYGUserSingle

- (void)dealloc
{
	[[NSNotificationCenter defaultCenter] removeObserver:self];
}


+ (XYGUserSingle *)shareInstance
{
	static dispatch_once_t onceToken = 0;
	static XYGUserSingle * userSingle = nil;
	dispatch_once(&onceToken, ^{
		userSingle = [[self alloc] init];
	});
	return userSingle;
}


- (instancetype)init
{
	self = [super init];
	if (self) {

	}
	return self;
}



@end






